package com.shixulin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shixulin.entity.Course;
import com.shixulin.entity.DTO.CourseQueryDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CourseInfoMapper extends BaseMapper<Course> {

    List<Course> getCourseInfoByPage(@Param("queryDTO") CourseQueryDTO queryDTO);



    // 其他方法...

}
